﻿<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <connectionStrings>
    <add connectionString="Provider=SQLOLEDB;Data Source=SERVER1;Persist Security Info=True;User ID=sa;Password=Pa$$w0rd;Initial Catalog=skrap" name="ScrapConnection"/>
    <add connectionString="Provider=SQLOLEDB;Data Source=SERVER1;Persist Security Info=True;User ID=sa;Password=Pa$$w0rd;Initial Catalog=spectro" name="ChemanalConnection"/>
    <add connectionString="Provider=SQLOLEDB;Data Source=SERVER1;Persist Security Info=True;User ID=sa;Password=Pa$$w0rd;Initial Catalog=eaf1" name="EafConnection1"/>
    <add connectionString="Provider=SQLOLEDB;Data Source=SERVER1;Persist Security Info=True;User ID=sa;Password=Pa$$w0rd;Initial Catalog=eaf2" name="EafConnection2"/>
  </connectionStrings>
  <startup>
    <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
  </startup>
  <system.serviceModel>
    <bindings>
      <netTcpBinding>
        <binding name="NetTcpBinding_IMainGate" closeTimeout="00:01:00"
            openTimeout="00:01:00" receiveTimeout="00:10:00" sendTimeout="00:01:00"
            transactionFlow="false" transferMode="Buffered" transactionProtocol="OleTransactions"
            hostNameComparisonMode="StrongWildcard" listenBacklog="10"
            maxBufferPoolSize="524288" maxBufferSize="65536" maxConnections="10"
            maxReceivedMessageSize="65536">
          <readerQuotas maxDepth="32" maxStringContentLength="8192" maxArrayLength="16384"
              maxBytesPerRead="4096" maxNameTableCharCount="16384" />
          <reliableSession ordered="true" inactivityTimeout="00:10:00"
              enabled="false" />
          <security mode="None">
            <transport clientCredentialType="Windows" protectionLevel="EncryptAndSign" />
            <message clientCredentialType="Windows" />
          </security>
        </binding>
      </netTcpBinding>
    </bindings>
    <client>
      <endpoint address="net.tcp://localhost:8000/MainGateService"
          binding="netTcpBinding" bindingConfiguration="NetTcpBinding_IMainGate"
          contract="MainGate.IMainGate" name="NetTcpBinding_IMainGate" />
    </client>
  </system.serviceModel>
  <appSettings>
    <add key="ZavalksTableName" value="zavalks"/>
    <add key="VesweightTableName" value="vesweight"/>
    <add key="chemanalTableName" value="chemanal"/>
    <add key="UnitNumber" value="2" />
    <add key="ChannelName" value="ESMS" />
  </appSettings>
</configuration>